home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Personal Computer World 2009 February
/
PCWFEB09.iso
/
Software
/
Freeware
/
Adobe Air 1.5
/
AdobeAIRInstaller.exe
/
setup.swf
/
scripts
/
_winCloseButtonStyle.as
< prev
next >
Wrap
Text File
|
2008-10-29
|
1KB
|
43 lines
package
{
import mx.core.IFlexModuleFactory;
import mx.styles.CSSStyleDeclaration;
import mx.styles.StyleManager;
public class _winCloseButtonStyle
{
private static var _embed_css_win_close_up_png_1494734051:Class = _winCloseButtonStyle__embed_css_win_close_up_png_1494734051;
private static var _embed_css_win_close_over_png_1028206275:Class = _winCloseButtonStyle__embed_css_win_close_over_png_1028206275;
private static var _embed_css_win_close_down_png_1793588413:Class = _winCloseButtonStyle__embed_css_win_close_down_png_1793588413;
public function _winCloseButtonStyle()
{
super();
}
public static function init(param1:IFlexModuleFactory) : void
{
var fbs:IFlexModuleFactory = param1;
var style:CSSStyleDeclaration = StyleManager.getStyleDeclaration(".winCloseButton");
if(!style)
{
style = new CSSStyleDeclaration();
StyleManager.setStyleDeclaration(".winCloseButton",style,false);
}
if(style.defaultFactory == null)
{
style.defaultFactory = function():void
{
this.upSkin = _embed_css_win_close_up_png_1494734051;
this.overSkin = _embed_css_win_close_over_png_1028206275;
this.downSkin = _embed_css_win_close_down_png_1793588413;
};
}
}
}
}